package com.bdqn.service.dev;

import com.bdqn.mapper.dev.DevUserMapper;
import com.bdqn.pojo.DevUser;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class DevUserServiceImpl implements DevUserService{
    @Resource
    private DevUserMapper devUserMapper;
    @Override
    public DevUser doLogin(String devCode, String devPassword) {
        DevUser devUser = devUserMapper.doLogin(devCode,devPassword);
        if (devUser != null){
            return devUser;
        }
        return null;
    }
}
